Contents | Index | < Browse | Browse >
LETTERgetenvULETTER
Gets an environment variable.
Overview
#include <stdlib.h>
var = getenv(name);
char *var;
const char *name;
Portability
ANSI
Description
This function returns a pointer to the value of the environment variable
"name", or zero, if the variable does not exist. Environment variables may
be set using the CLI commands "setenv" and "set".